package com.example.yskjproject.model;

import java.io.Serializable;

/**
 * WxLoginModel
 * <p>
 * 作者：zx
 * 创建时间：2024/4/24
 */
public class WxLoginModel implements Serializable {


    /**
     * login_state : 2
     * login_msg : success
     * login_resp : {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJKd3RVc2VySWQiOjE4LCJleHAiOjE3MTUwODE0ODEsImlhdCI6MTcxMjQ4OTQ4MX0.-lx-n_t0ASNS5xadQSrM6thmxyEmlRtk0bYENSTRx68","access_expire":1715081481,"refresh_after":1713785481}
     */

    private int login_state;
    private String login_msg;
    private LoginRespBean login_resp;

    public int getLogin_state() {
        return login_state;
    }

    public void setLogin_state(int login_state) {
        this.login_state = login_state;
    }

    public String getLogin_msg() {
        return login_msg;
    }

    public void setLogin_msg(String login_msg) {
        this.login_msg = login_msg;
    }

    public LoginRespBean getLogin_resp() {
        return login_resp;
    }

    public void setLogin_resp(LoginRespBean login_resp) {
        this.login_resp = login_resp;
    }

    public static class LoginRespBean {
        /**
         * access_token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJKd3RVc2VySWQiOjE4LCJleHAiOjE3MTUwODE0ODEsImlhdCI6MTcxMjQ4OTQ4MX0.-lx-n_t0ASNS5xadQSrM6thmxyEmlRtk0bYENSTRx68
         * access_expire : 1715081481
         * refresh_after : 1713785481
         */

        private String access_token;
        private int access_expire;
        private int refresh_after;

        public String getAccess_token() {
            return access_token;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }

        public int getAccess_expire() {
            return access_expire;
        }

        public void setAccess_expire(int access_expire) {
            this.access_expire = access_expire;
        }

        public int getRefresh_after() {
            return refresh_after;
        }

        public void setRefresh_after(int refresh_after) {
            this.refresh_after = refresh_after;
        }
    }
}
